import java.util.ArrayList;
import java.util.List;

public class Homework_2_heap {
    static class tool{
        private tool(){};
    }

    public static void main(String args[]){
        List<tool> list = new ArrayList<>();//对象列表

        while(true){
            list.add(new tool());//反复添加对象
        }
    }
}
